package com.example.springmvcdemo;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/sayHi")
@RestController
public class sayHi {
    @RequestMapping("hi")
    public String sayHi1(String hi){
        return hi;
    }
}
